home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 009a / vc1lxf.zip / README.TXT < prev    next >
Text File  |  1993-04-09  |  4KB  |  79 lines

  1. ======================================================================
  2.                   Increased File Handle Libraries
  3. ======================================================================
  4.  
  5.  --------------------------------------------------------------------
  6. | INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY    |
  7. | ACCOMPANY THIS DOCUMENT (collectively referred to as an            |
  8. | Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY      |
  9. | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO    |
  10. | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A     |
  11. | PARTICULAR PURPOSE. The user assumes the entire risk as to the     |
  12. | accuracy and the use of this Application Note. This Application    |
  13. | Note may be copied and distributed subject to the following        |
  14. | conditions: 1) All text must be copied without modification and    |
  15. | all pages must be included; 2) If software is included, all files  |
  16. | on the disk(s) must be copied without modification (the DOS        |
  17. | utility DISKCOPY is appropriate for this purpose); 3) All          |
  18. | components of this Application Note must be distributed together;  |
  19. | and 4) This Application Note may not be distributed for profit.    |
  20. |                                                                    |
  21. | Copyright 1991 Microsoft Corporation. All Rights Reserved.         |
  22. | Microsoft and the Microsoft logo are registered trademarks of      |
  23. | Microsoft Corporation.                                             |
  24.  --------------------------------------------------------------------
  25.  
  26. The enclosed Increased File Handle Libraries for Microsoft Visual C++ 
  27. 1.0 contain the following 13 files:
  28.  
  29.    README.TXT   - File containing instructions on use of these .LIBs
  30.    S40FILE.LIB  - Small model, assembled for 40 handles and streams
  31.    M40FILE.LIB  - Medium model, assembled for 40 handles and streams
  32.    C40FILE.LIB  - Compact model, assembled for 40 handles and streams
  33.    L40FILE.LIB  - Large model, assembled for 40 handles and streams
  34.    S60FILE.LIB  - Small model, assembled for 60 handles and streams
  35.    M60FILE.LIB  - Medium model, assembled for 60 handles and streams
  36.    C60FILE.LIB  - Compact model, assembled for 60 handles and streams
  37.    L60FILE.LIB  - Large model, assembled for 60 handles and streams
  38.    S100FILE.LIB - Small model, assembled for 100 handles and streams
  39.    M100FILE.LIB - Medium model, assembled for 100 handles and streams
  40.    C100FILE.LIB - Compact model, assembled for 100 handles and streams
  41.    L100FILE.LIB - Large model, assembled for 100 handles and streams
  42.  
  43. The library files in this package are not complete C libraries. These
  44. libraries only contain three files: CRT0DAT.OBJ, and FILE.OBJ. These 
  45. are the .OBJs that need to be rebuilt in order to increase both file 
  46. handles and streams in Windows DLLs.
  47.  
  48. These libraries may be used two different ways.
  49.  
  50.     1) They may be linked in as .OBJ files. When listing .OBJ files on
  51.        the link command line, include the appropriate library. The /NOE
  52.        option will need to be used also. Here are example compile and
  53.        link statements using this method:
  54.  
  55.           CL /ASw /GD /c TEST.c
  56.           LINK TEST.OBJ + S40FILE.LIB /NOE, TEST.EXE;
  57.  
  58.     2) Replace the module in your combined library with these rebuilt
  59.        modules. This will permanently change your combined libraries.
  60.        Here are the sample LIB commands needed to change SLIBCE.LIB:
  61.  
  62.           LIB S40FILE.LIB *CRT0DAT.OBJ *FILE.OBJ;
  63.           LIB SLIBCE.LIB -+CRT0DAT.OBJ -+FILE.OBJ;
  64.  
  65. File handles may also be increased by following the instructions 
  66. starting on page 40 of the Run-Time Library Reference that shipped 
  67. with Visual C++1.0 and the C/C++ 7.0 compiler. These instructions 
  68. require MASM version 6.0 or 6.1.
  69.  
  70. Programs built with these modified libraries will not run on computers
  71. running a version of MS-DOS eariler than version 3.3.  
  72.  
  73. While Microsoft provides the run-time source so changes like this can
  74. be made, Microsoft does not support these changes.
  75.  
  76. These files are provided for convenience of Microsoft C users, and are
  77. provided without any support. Any questions about their use should be
  78. directed to the CIS MSLANG forum.
  79.